using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using java.lang;
using ikvm.runtime;
using System.Collections;
using jstm.generator;
using IKVM.NativeCode.ikvm.@internal;
using java.net;

namespace SampleImagesGenerator
{
	/// <summary>
	/// Generates the same object model as the Java Images sample, but using C#
	/// </summary>
	class Program
	{
		static void Main( string[] args )
		{
			ObjectModelDefinition model = jstm.examples.images.generator.Main.create();
			model.RootPackage.Name = "SampleImages.Generated";
			Generator generator = new Generator( model );
			generator.setUID( jstm.examples.images.generated.ImagesObjectModel.UID );
			generator.writeFiles( @"..\..\..", Generator.Target.CSharp, false );

			Console.WriteLine( "" );
			Console.WriteLine( "Success!" );
			Console.ReadLine();
		}
	}
}
